<?php

class CustomVipcardUserViewModel extends ViewModel{
	
	public $viewFields = array(

			'Custom'=>array(
				'*',
				'_type'=>"left",
				"_as"=>'c'
			),
			
			'VipcardUser'=>array(
				'id'=>'vipid',
				'cardid',
				'cardname',
				'use_jifen',	
				'total_jifen',	
				'use_money',	
				'total_money',	
				'isdel'=>'status',
				'_on'=>'c.id=v.customid',
				'_as'=>'v',	
			)
/* 			'MemberGroup'=>array(
					'groupid',
					'_on'=>'c.id=g.customid',
					"_as"=>'g'
			) */
			
	);
	
}

?>